package com.b2c.oa.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;

@Controller
public class StatisticsController {
    @RequestMapping(value = "/media/media_statistics", method = RequestMethod.GET)
    public String dataReport(Model model, HttpServletRequest request) {

        return "media_statistics";
    }

    @RequestMapping(value = "/media/live_statistics", method = RequestMethod.GET)
    public String liveStatistics(Model model, HttpServletRequest request) {
        return "live_statistics";
    }
}
